package com.dunqi.gpm.shunqing.home.activity;

import android.content.Intent;
import android.os.Bundle;

import com.dunqi.gpm.shunqing.R;
import com.dunqi.gpm.shunqing.common.base.BaseAct;
import com.dunqi.gpm.shunqing.home.fragment.ProblemConsortFragment;

public class QuestionSolveActivity extends BaseAct {


    private ProblemConsortFragment problemConsortFragment;

    @Override
    protected void refreshData(Bundle savedInstanceState) {

    }

    @Override
    protected void initUiAndListener() {

        problemConsortFragment = ProblemConsortFragment.newInstance(-1, null);
        getSupportFragmentManager().beginTransaction()
                .add(R.id.container,problemConsortFragment)
                .commit();
    }

    @Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        problemConsortFragment.onActivityResult(requestCode, resultCode, data);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_question_sovel;
    }
}
